Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Timing5to4.html |
Url | http://hl7.org/fhir/StructureMap/Timing5to4 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Timing5to4 |
Title | Timing Transforms: R5 to R4 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | TimingTransformsR5toR4 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Timing5to4' /// name = 'Timing5to4' /// title = 'Timing Transforms: R5 to R4' /// status = 'active' uses "http://hl7.org/fhir/5.0/Timing" alias TimingR5 as source uses "http://hl7.org/fhir/4.0/Timing" alias TimingR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group Timing(source src : TimingR5, target tgt : TimingR4) extends Element <<type+>> { src.modifierExtension -> tgt.modifierExtension; src.event -> tgt.event; src.repeat as s -> tgt.repeat as t then TimingRepeat(s, t); src.code -> tgt.code; } group TimingRepeat(source src, target tgt) extends Element { src.bounds : Duration -> tgt.bounds; src.bounds : Range -> tgt.bounds; src.bounds : Period -> tgt.bounds; src.count -> tgt.count; src.countMax -> tgt.countMax; src.duration -> tgt.duration; src.durationMax -> tgt.durationMax; src.durationUnit -> tgt.durationUnit; src.frequency -> tgt.frequency; src.frequencyMax -> tgt.frequencyMax; src.period -> tgt.period; src.periodMax -> tgt.periodMax; src.periodUnit -> tgt.periodUnit; src.dayOfWeek as v -> tgt.dayOfWeek = translate(v, 'http://hl7.org/fhir/ConceptMap/Timing.repeat.dayOfWeek-R5toR4', 'code'); src.timeOfDay -> tgt.timeOfDay; src.when -> tgt.when; src.offset -> tgt.offset; }
{
"resourceType" : "StructureMap",
"id" : "Timing5to4",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Timing5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Timing5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Timing Transforms: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/Timing<span style=\"color: navy\">" </span><b>alias </b>TimingR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/Timing<span style=\"color: navy\">" </span><b>alias </b>TimingR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Timing<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>TimingR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>TimingR4<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.modifierExtension<span style=\"color: navy\"><b> -> </b></span>tgt.modifierExtension<span style=\"color: navy\">;</span>\r\n src.event<span style=\"color: navy\"><b> -> </b></span>tgt.event<span style=\"color: navy\">;</span>\r\n src.repeat<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.repeat<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TimingRepeat<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TimingRepeat<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.bounds<span style=\"color: navy\"> : </span>Duration<span style=\"color: navy\"><b> -> </b></span>tgt.bounds<span style=\"color: navy\">;</span>\r\n src.bounds<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.bounds<span style=\"color: navy\">;</span>\r\n src.bounds<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.bounds<span style=\"color: navy\">;</span>\r\n src.count<span style=\"color: navy\"><b> -> </b></span>tgt.count<span style=\"color: navy\">;</span>\r\n src.countMax<span style=\"color: navy\"><b> -> </b></span>tgt.countMax<span style=\"color: navy\">;</span>\r\n src.duration<span style=\"color: navy\"><b> -> </b></span>tgt.duration<span style=\"color: navy\">;</span>\r\n src.durationMax<span style=\"color: navy\"><b> -> </b></span>tgt.durationMax<span style=\"color: navy\">;</span>\r\n src.durationUnit<span style=\"color: navy\"><b> -> </b></span>tgt.durationUnit<span style=\"color: navy\">;</span>\r\n src.frequency<span style=\"color: navy\"><b> -> </b></span>tgt.frequency<span style=\"color: navy\">;</span>\r\n src.frequencyMax<span style=\"color: navy\"><b> -> </b></span>tgt.frequencyMax<span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period<span style=\"color: navy\">;</span>\r\n src.periodMax<span style=\"color: navy\"><b> -> </b></span>tgt.periodMax<span style=\"color: navy\">;</span>\r\n src.periodUnit<span style=\"color: navy\"><b> -> </b></span>tgt.periodUnit<span style=\"color: navy\">;</span>\r\n src.dayOfWeek<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.dayOfWeek = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/Timing.repeat.dayOfWeek-R5toR4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.timeOfDay<span style=\"color: navy\"><b> -> </b></span>tgt.timeOfDay<span style=\"color: navy\">;</span>\r\n src.when<span style=\"color: navy\"><b> -> </b></span>tgt.when<span style=\"color: navy\">;</span>\r\n src.offset<span style=\"color: navy\"><b> -> </b></span>tgt.offset<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Timing5to4",
"version" : "0.1.0",
"name" : "Timing5to4",
"title" : "Timing Transforms: R5 to R4",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "TimingTransformsR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/Timing",
"mode" : "source",
"alias" : "TimingR5"
},
{
"url" : "http://hl7.org/fhir/4.0/Timing",
"mode" : "target",
"alias" : "TimingR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "Timing",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "TimingR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "TimingR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "modifierExtension",
"source" : [
{
"context" : "src",
"element" : "modifierExtension",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modifierExtension",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "event",
"source" : [
{
"context" : "src",
"element" : "event",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "event",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat",
"source" : [
{
"context" : "src",
"element" : "repeat",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeat",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TimingRepeat",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "TimingRepeat",
"extends" : "Element",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "boundsDuration",
"source" : [
{
"context" : "src",
"type" : "Duration",
"element" : "bounds",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bounds",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "boundsRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "bounds",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bounds",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "boundsPeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "bounds",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bounds",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "count",
"source" : [
{
"context" : "src",
"element" : "count",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "count",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "countMax",
"source" : [
{
"context" : "src",
"element" : "countMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "countMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "duration",
"source" : [
{
"context" : "src",
"element" : "duration",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "duration",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "durationMax",
"source" : [
{
"context" : "src",
"element" : "durationMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "durationMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "durationUnit",
"source" : [
{
"context" : "src",
"element" : "durationUnit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "durationUnit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "frequency",
"source" : [
{
"context" : "src",
"element" : "frequency",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "frequency",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "frequencyMax",
"source" : [
{
"context" : "src",
"element" : "frequencyMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "frequencyMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "period",
"source" : [
{
"context" : "src",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "periodMax",
"source" : [
{
"context" : "src",
"element" : "periodMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "periodMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "periodUnit",
"source" : [
{
"context" : "src",
"element" : "periodUnit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "periodUnit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dayOfWeek",
"source" : [
{
"context" : "src",
"element" : "dayOfWeek",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dayOfWeek",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/Timing.repeat.dayOfWeek-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "timeOfDay",
"source" : [
{
"context" : "src",
"element" : "timeOfDay",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timeOfDay",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "when",
"source" : [
{
"context" : "src",
"element" : "when",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "when",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "offset",
"source" : [
{
"context" : "src",
"element" : "offset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "offset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.